package com.itbaizhan.shopping_goods_service.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itbaizhan.shopping_common.pojo.Specification;

import java.util.List;

/**
 * @program: shopping
 * @ClassName SpecificationMapper
 * @description: 商品规格mapper
 * @author: jing
 * @create: 2025-06-22 17:14
 **/

public interface SpecificationMapper extends BaseMapper<Specification> {

    Specification findById(Long id);
    // 根据商品类型查询商品规格
    List<Specification> findByProductTypeId(Long productTypeId);

}
